<mat-form-field>
  <input matInput type="number" [(ngModel)]="amount" placeholder="Amount">
</mat-form-field>

<button mat-button (click)="account.deposit(amount);amount=null">deposit</button>
<button mat-button (click)="account.withdraw(amount);amount=null">withdraw</button>
